import type { App } from "vue"
import Icon from "@/components/Icon/icon.vue"
import button from "@/components/Button/button.vue"
import Card from "@/components/Card/card.vue"
import Dialog from "@/components/Dialog/dialog.vue"
import Pager from "@/components/Pager/pager.vue"
import Collapse from "@/components/Collapse/collapse.vue"
import CollapseItem from "@/components/Collapse/collapseItem.vue"
import Tooltop from "@/components/Tooltip/tooltip.vue"

export default function (app: App) {
	app.component("ChenIcon", Icon)
	app.component("ChenButton", button)
	app.component("ChenCard", Card)
	app.component("ChenDialog", Dialog)
	app.component("ChenPager", Pager)
	app.component("ChenCollapse", Collapse)
	app.component("ChenCollapse-Item", CollapseItem)
	app.component("ChenTooltip", Tooltop)
}
